package ejb.facades.profiles;

import ejb.facades.AbstractFacade;
import entities.profiles.VehicleProfile;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Trabalho PD - 2014/2015
 * @author a21210380 a21210392
 */
@Stateless
public class VehicleProfileFacade extends AbstractFacade<VehicleProfile> implements VehicleProfileFacadeLocal {
    @PersistenceContext(unitName = "Trabalho_PDPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public VehicleProfileFacade() {
        super(VehicleProfile.class);
    }

}
